Release 10.1A: OpenEdge Development:
Programming Interfaces
Initiating a conversation
After defining the DDE frame, invoke the
DDE INITIATEstatement for the frame, server name, and an available server topic. Most server applications provide a System topic that is available at startup. The data items for this topic generally include application command strings and other information to support DDE interactions with the application. In Progress, you can use this System topic to make other topics available to the client using theDDE EXECUTEstatement. After you have made these topics available, you can open additional conversations for them.The
DDE INITIATEstatement retrieves a channel number that uniquely identifies the conversation. You use this channel number with other DDE statements to invoke all other exchanges in the conversation.For example, the following code fragment opens a conversation with Microsoft Excel’s System topic, returning the channel number to
sys. It uses thesysconversation to invoke the ExcelNEWcommand, creating an initial Excel worksheet (Sheet1). It then opens a conversation with the Sheet1 topic, returning the channel number to sheet:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |